﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.Default" %>

<%@ Register Src="Controls/Menu2.ascx" TagName="Menu2" TagPrefix="uc2" %>
<%--根据浏览器类型动态生成 DOCTYPE --%>
<%=GetDOCTYPE()%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>内蒙古自治区药械集中采购平台</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script src="./lib/scripts/DynaForm.js" type="text/javascript"></script>
    <script src="./lib/scripts/GenUtils.js" type="text/javascript"></script>
    <script src="./lib/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="./lib/scripts/menu-collapsed.js" type="text/javascript"></script>

    <link rel="stylesheet" type="text/css" href="./lib/style/global.css" />
    <link rel="stylesheet" type="text/css" href="./lib/style/leftmenu.css" />
    <link rel="stylesheet" type="text/css" href="./lib/style/bar.css" />

    <script type="text/javascript" language="JavaScript">
        function logout() {
        if (confirm("确定要退出系统吗？")) {
            location.replace("CommonPage/logout.aspx");
            }
        }
        
        
        var LEFT_MENU_VIEW = 1;
        
        function leftmenu_open() {
            LEFT_MENU_VIEW = 0;
            leftmenu_ctrl();
        }
        function leftmenu_ctrl() {
            var leftFrame = document.getElementById("tdLeftMenu");
            if (LEFT_MENU_VIEW == 0) {
                leftFrame.style.display = "inline";
                LEFT_MENU_VIEW = 1;
                myarrow.src = "./lib/images/arrow_l.gif";
            }
            else {
                leftFrame.style.display = "none";
                LEFT_MENU_VIEW = 0;
                myarrow.src = "./lib/images/arrow_r.gif";
            }
        }
        
        function setPointer(theRow, thePointerColor) {
            if (typeof (theRow.style) == 'undefined' || typeof (theRow.cells) == 'undefined') {
                return false;
            }

            var row_cells_cnt = theRow.cells.length;
            for (var c = 0; c < row_cells_cnt; c++) {
                theRow.cells[c].bgColor = thePointerColor;
            }

            return true;
        }
        
        function adjustFrameSize()
		{
		    //
		    tdMain.style.Heigth = window.document.body.clientHeight-61;
		    //
			document.all.mainWorkArea.style.height=window.document.body.clientHeight-60;
			mainWorkArea.document.body.style.overflowX='auto';
			mainWorkArea.document.body.style.overflowY='auto';
		}	
		
		window.onresize = function(){ 
		adjustFrameSize();
		}
    </script>

</head>
<%--<frameset id="allFrame" border="0" framespacing="0" rows="61, *" frameborder="NO"
    cols="*" noresize>
		<FRAME src="Head.aspx" noResize scrolling="no">
		<FRAMESET id="mainFrame" border="0" frameSpacing="0" rows="*" frameBorder="NO" cols="195,8,*"
			noresize scrolling="no">
			<FRAME name="left" src="left_menu.aspx" target="main" noResize >
			<FRAME border="0" name="bar" frameSpacing="0" src="bar.aspx" frameBorder="NO" noResize
				scrolling="no">
			<FRAMESET cols="*"  rows="100%,0%" scrolling="No">
			    <FRAME name="main" src="ContentIndex.aspx" scrolling="yes">
			    <FRAME name="msg" src="msgAlert.aspx" />
		    </FRAMESET>
		</FRAMESET>
	</frameset>--%>
<body style="margin: 0; height: 100%; overflow: hidden" scroll="no"  onload="adjustFrameSize();">

<div style="display:none;"><script src="http://s56.cnzz.com/stat.php?id=1910747&web_id=1910747&show=pic" language="JavaScript" charset="gb2312"></script> </div>
    <table style="height: 100%; width: 100%; margin: 0" cellspacing="0" cellpadding="0"
        border="0">
        <tr style="height: 61px">
            <td colspan="3" style="height: 61px; background-color: #264989">
                <table class="small" cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr class="topbar">
                        <td width="20%" align="left" valign="top" nowrap>
                            <!--img src="themes/OA/images/company_logo.gif" alt="Company Logo" border="0" style="margin-left: 10px;"-->
                            <img alt="logo" src="./lib/images/logo.jpg" width="478" height="60">
                        </td>
                        <td width="80%" align="right" background="./lib/images/head_img.jpg">
                            <table class="small" style="height: 100%" cellspacing="0" cellpadding="0" width="100%"
                                border="0">
                                <tr>
                                    <td align="right" valign="bottom">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td align="left" valign="bottom">
                                                    <span style="font-size: 9pt; width: 100%; color: #000000; padding-top: 2px"><asp:Literal runat="server" ID="ltrVersion"></asp:Literal></span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" valign="bottom">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td width="30%" align="right" valign="top" style="padding: 0">
                                        <!--img src="themes/OA/images/topbuttonlist.gif" alt="tools" width="188" height="59"-->
                                        <table cellspacing="0" cellpadding="0" border="0" style="margin: 0">
                                            <tr>
                                                <td align="left" valign="top">
                                                    <a href="javascript:void(0);"  title="返回快速导航"  onclick="<%=GetLink() %>"><img alt="快速导航" src="lib/images/navg.gif" border="0"/></a>
                                                </td>
                                                <td align="left" valign="top">
                                                    <a href="javascript:void(0);"  title="查看提醒信息" onclick="CallFunc('msgAlert.aspx?from=head','FORM','msg');"><img alt="查看提醒信息" src="./lib/images/top_msg.jpg" border="0"/></a>
                                                </td>
                                                <td align="left" valign="bottom">
                                                    <a href="javascript:void(0);" title="用户信息" onclick="CallFunc('CommonPage/CurrentUserInfo.aspx','FORM',null);"><img alt="用户信息" src="./lib/images/profile.jpg" border="0"/></a>
                                                </td>
                                                <td align="left" valign="bottom">
                                                    <a href="javascript:void(0);" title="修改密码" onclick="CallFunc('CommonPage/ConfirmPwd.aspx','FORM',null);"><img alt="修改密码" src="./lib/images/xgmm.jpg" border="0"/></a>
                                                </td>
                                                <td align="left" valign="bottom">
                                                    <a href="javascript:void(0);" title="退出登录" onclick="javascript:logout();return false;"><img alt="退出" src="./lib/images/exit.jpg" border="0"/></a>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr id="tdMain" style="height:92%;">
            <td id="tdLeftMenu" style="height:100%; width: 200px; background-color: #6B85DA; " >
                <div id="leftmenu">
                    <uc2:Menu2 ID="Menu2" runat="server" />
                </div>
            </td>
            <td style="height: 100%; width: 8px;">
                <table class="col" cellspacing="0" cellpadding="0" style="height: 100%; width: 100%">
                    <tr>
                        <td>
                            <table height="50" cellspacing="0" bordercolordark="#ffffff" cellpadding="0" width="100%"
                                bgcolor="#eeeeee" bordercolorlight="#000000" border="1">
                                <tr onmouseover="setPointer(this, '#D3E5FF')" onclick="leftmenu_ctrl()" onmouseout="setPointer(this, '#EEEEEE')">
                                    <td style="cursor: hand">
                                        <img id="myarrow" src="./lib/images/arrow_l.gif" alt="点击展开/收缩窗口！">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="height: 100%; width: 100%; vertical-align: text-top;">
                <iframe id="mainWorkArea" name="mainWorkArea"  title="content" src="ContentIndex.aspx" marginheight="0"
                    marginwidth="0" scrolling="yes" style="height: 100%; width: 100%;" frameborder="0"
                    onload="adjustFrameSize();"></iframe>
            </td>
        </tr>
      
    </table>
     <div style="height:0px;margin:0px;">
                <iframe id="msg" name="msg" src="msgAlert.aspx" title="alert" marginheight="0" marginwidth="0"
                    scrolling="no" style="height: 1px; width: 100%" frameborder="0"></iframe>
     </div>
</body>
</html>
